/*
 * @Author: xushuhao
 * @Email: xshmouse@163.com
 * @Date: 2020-06-16 10:41:17
 * @Last Modified by: xushuhao
 * @Last Modified time: 2020-06-16 11:16:37
 * @Description: APP版本信息
 */

import 'package:dio/dio.dart';
import 'package:flutter/foundation.dart';

/// 版本管理相关
class ReqVersion {
  final Dio _dio;

  ReqVersion(this._dio);

  //获取版本信息
  Future<Response> getVertionInfo({@required String platformName}) async {
    return _dio.post('/common/getVersion', queryParameters: {
      "platformName": platformName,
    });
  }
}
